/**
 * this file will be loaded before server started
 * you can define global functions used in controllers, models, templates
 */

/**
 * use cmpage.xxx to define global functions
 *
 * cmpage.fn1 = function(){
 *
 * }
 */

import CMPageGlobal from '../../cmpage/cmpage_global.js';

global.cmpage = new CMPageGlobal();

global.debug = global.cmpage.debug;
